package com.yc.game.service;

import com.github.pagehelper.PageInfo;
import com.yc.game.vo.TrainingVo;

public interface TrainingService {
    int getByEmailAndTrainingId(String email, Integer trainingId);

    int addTraining(String email, Integer trainingId);

    PageInfo<TrainingVo> getByEmail(Integer pageNum, Integer pageSize, String email);
}
